#include "Exp3.h"

void Exp3()
  {
    cleardevice();
    int Still = 1;
    Object Cursor, *pCursor = &Cursor;
    InitExp3Cursor(pCursor);

    char Map[350], *pMap = Map;
    ReadMapN(pMap, 3);

    while (Still)
      {
        OptMap3();
        OptCursor(pCursor);
        PlayerAct(pCursor, pMap, &Still);
        FlushBatchDraw();
      }
    OptMenuBk();

  }

void InitExp3Cursor(Object *pCursor)
  {
    pCursor->HP = 10;
    pCursor->X = 1265, pCursor->Y = 10;
    pCursor->GridX = 25, pCursor->GridY = 0;
    pCursor->Treasure = 'N';
  }
void OptMap3()
  {
    IMAGE ImgMap3;
    loadimage(&ImgMap3, _T("Pic/Exp3/Map3.png"));
    putimage(0, 0, &ImgMap3);
  }
